<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
		<?php $db = M('news');
		$result = $db->limit(2)->all();
		foreach($result as $field ):?>
    <li><?php echo $field['title'];?></li>
<?php endforeach;?>